package com.hxzy.common.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Desc 描述
 * @Author: admin
 * @Date: 2023/08/24/9:19
 */
@Getter
@Setter
@ApiModel(value = "分页响应模型")
public class PageResp<T> {
    @ApiModelProperty(value = "总共多少笔数据")
    private Long total;

    @ApiModelProperty(value = "当前页的数据")
    private List<T> rows;
}
